Package-level declarations

Types

Link copied to clipboard
open class PaperMcDespawnedItems : JavaPlugin

PaperMC Despawned Items — a Paper plugin that intercepts items which would normally despawn on the ground and instead relocates them into a registered network of nearby containers, cookers, entities, or empty space.

Link copied to clipboard

Pure reward-threshold logic for /recycle, extracted from the command so it can be unit-tested without a server. Regression guard: the old code tracked progress in scoreboard objectives the plugin never created, so a reward was never granted; this makes the "reward every ITEMS_PER_REWARD" rule explicit and testable.

Link copied to clipboard
object RewardPool

The pool of "safe" materials handed out as /recycle rewards. Built once at enable time by scanning every Material and excluding air, technical blocks, and high-value materials, so rewards stay ordinary and non-exploitable.

Functions

Link copied to clipboard
fun CommandSender.sendColored(text: String, color: NamedTextColor)

Sends a single-colour message using the Adventure component API.